set the end point as the real end point