packhierarchy fix