added hex buffer original, to allow undo