settings storage works correctly