Merge pull request #5 from dieterdemeyer/master

Fixed variable lookup