fixed bucket destroy bug and added disabled hub functionality