bugs fixed at peg parser