parser can handle bad strings

* though I think the interface is not right