fixing up unpacking code