small fix to Policies::ApplyHooks