#74 fix when pasting data with overwriting beyond the file