Fixed glitch that caused free to fail