Fixing bug in read gesture.