support new package and message protocol