fix code style around config file