Fixed function call scope