cleanup some unused stuff from target