fixed a serverside crash