Cancel command working