Using iterator to remove restricted custom params