fixed pack/unpackAppData