fix paste on p
fix respondHandleEvents