Fixed some weird error on server start