fix settings can not store.