clean .cfg a bit