fixed bug in class loader