fix freeing...