close #78

Bug fix unset variables