Fixed crash on server