[Server] Fix crash