added some cleanup stuff for irb and pubs when displaying on table 5