fix parser backwards compatible