fix bug in class page