converted pid to str for prettyTable