fixed a classloader leak