delete unnecessary source.