added scalaHome patch