FIXED mising variable
Merge pull request #2 from lobermann/atv-4.0.6

FIXED mising variable