correcting pep error