fix memorize
Merge pull request #63 from masarakki/fix_memorize

fix memorize