Fixed bug for memory store, fixed some typos in function names