fix default implmentations of hooks