Fixed parenthesis problem