fixed duplicate onpaste event