don't store memory values directly in hashtable, this should fix a bug where writing to a value occurs in a non-transactional context after word has been written in a transactional context