cleanups for locating resources in classpath