fix parser interface problem