Removes unnecessary source