remove main to server