completing parenthesis support without attributes yet
fixing bug with element following right parenthesis