Fix typo causing client crashes