params not breaking correctly