invert 2 loops in epel