change save-clear table as mixin