no more bug when there are multiple parentheses
restore tests"