error message changed for class import