fix parser class