fixing edit paste