Remove stupidness in api startup