Fixed error where adding p when even.