fixed typo causing crash again