for FIFO , fix a bug when hw serial init.