do not use loseless abi until it supported
fix UnboundLocalError: local variable 't' referenced before assignment