remove redundant print from parser