fixed typo error in code (caused syntax error)