cfg needs to have str values