fixed es.2 for logical error