fixed an issue with parenthesis being stripped with no validation