save inspectors on undo