figured out params problem