fixed connect to 4.2.x; format print for teeing