fixing ef reference.