clean-up config
add getName function