fix HasLifecycleCallbacks