fix up diamond config file