fix server not starting for the first time (cli)