fixed the data disappearing during drag event.