fix problems with server