fixed missing a free