Fix the absolute classpath problem and pos issue