fix the class track bug