removed pathdef and modify ploting faraday.