flatten package structure