improve for some config