fixed missing free