use bucket clear function for delete bucket