close parenthesis bug