refactoring: fix lint warnings in settings