refactor cfs settings