fixed classpath and removed unused clear result method