fixing conditional statments in et-utils