fixed settings local to use sqlite db