fixed critical problems with memory #158