error fix in chompBalanced for "