use new for_db hook
skip type loading before destroy