cleaned code in category listing module