fixed user save issue