fixes left recursion test