Fixed sending of params