fixing the command object