fix class edit page