add some setting management