fixed enter to server bug