fix sbt version detection bug