fix server start up in dev mode