Removing incomplete command