Fix Bug3: add the pipelined register into the reset block