fixed bucket destroy bug