saving bug fixed