change lining up end cases for retrying