simplify parser