Bugfix for linux server & error message