added support for parentheses.
added support for parentheses.
fixed the callback left issues