unbind event before unmounting component