fix classLoader could not find class in some environment