changed order in read so that we sync first then read