added some PEP8 to catalog module