fix mem-enc bugs
Merge pull request #4 from lmntal/mem-enc-bug

mem-enc使用時にバグを修正