Fixed a small issue with some stagnate memory.