[IMP]implement onpaste