Write function: remove rejected receipt and bad word at pantryc