fix ApplySettings test