send mode to server explicitly