cleaning up LR(1) Item logging