refactor diminish settings