fix old class