didn't commit settings after storing key