file save bug fixed