removing pats stuff