profile save issue fix