some memory clean up and lead on cause of the source issue