fixed order of operations with config