change package struct