fixed paranthesis regex bug