clean up the default targets when putting into the heap