trim some crap, should change to sbt at some point