try using filter_params logic