Trying to fix ram_wr