fixed delete_bucket