Fixed offline var bug
Merge pull request #5 from DSMNET/offline-fix-patch

Fixed offline bug