server and client orientation fixed