Fixes a bug in parameters for command staging