edgesEnd fix