set correct setting.