fixed wrong check for Scala version parameter