removed buggy paste code