Fixed bug with delete_paste