fixed server initialization on linux