os-sbt cleaning code