Hotfix undefined variable