strip out params