this works if use the thread classloader