add cancelEvent & window remove background