remove main replaced with server