fix bug-if has goods can not delete category