fix setting判断