params not being passed to commands