trying to fix server fifo read