removed some unnecessary stuff in client_to_desktop