fixed vari
Merge pull request #32 from aleros78/master

some fixes