fixed typo causing syntax error