remove undependent libs