parenthesis bug correction