fix LoadTypeException issue