helper function to delete all fetched pi
Merge remote-tracking branch 'upstream/master'