next and prev side correction