Bug fix for calling fetch hook