fix config file format