fixed tow bugs: issues 21 and 18