bug at saving fixed