error on first saving fixed