raise on parse error
anyway, doesn't work fully