fixing problem with parentesis