simplify sloppy variable passing in catalog page