fix bug for saving table color