parser: fix print statements