hopefully fix problems with server restarts