fix resource classpath