fixed round error for start/end point