fix bug and implement all frame type (not detail)
added upackHex and apply it