Fixing ppe variables bug