fix config name construction (thanks @justinvdm)