fixed more bugs on class page