changes done by dev20 for category template