found these bugs using testml for pegex