Fix .ecf file