removal of unneeded source