fix config to file echo