corrects end of ol