settings db fix