fix fifo parsing behavior