fixed a bug about inout port in testbench file