fixed menu save bug