remove client from server code