fix the layout of class index page