freed some pointers