Fixed bad paren matching