fixed a name saving issue