fix weird sbt compile issue