Fixed error when starting server