correcting fifo lib