Version bump to 0.1.8
fix bug with log var