Fixed api startup