use implicit val instead of implicit def
Merge pull request #447 from xuwei-k/implicit-val

use implicit val instead of implicit def