fixed the timing issue in writeback operation