fixing server startup issues