Fixed wrong internal hook