remove hide eventHandler on hide