change message/pack layout