fixed classpath and warnings