server: check null of current mode for voutput set mode