data save & log err fix