t3_midreq: fixed bugs