cleaning up print lines (and the stalling is going away)