typo in memory def