separate some config