improve class loader handle