fixes flow in threadline