Make sure that the list of base classes is not deleted during its refresh