fix the message double unpack problem