fixed syntax error and spelling error