Fix class trainer frame.