fix customer saving bug