Remove client side references on server