fix e condition