fix serverside crash