support swap settings