do some config