remove commented code in search collection macros