fixed key, value issue fr saving on store