can handle the event, fixing bug for unpack