fixed typo and misplaced paren