fixed classpath bugs.