endlate fixes