Fix bugs in the delete-bucket command
Modify the error message