fix bug : global setting invalid