It's been a long time since I used an HOB overflow. I think I remember using an elbow inside the box right before the water drains down.