no more errors on parser

not returning perfect result yet but not crashing either