cleanup and rm of wrong deps in logging