added rd enable to fifo