remove extra libs