make it working with settings config