fixed error while pprint