bug fix, e->y > 0