set class edit disabled