some cleaning in init-file and init-file-config