bug fixed with ECF