bug fix for rollout hooks