Fixed the placement of safe points are incorrect.