Fix output for READ and WRITE