simple change, do packed[]:=false after unpacking