fixed typo crashing the server