Fixed fix_layout post_unpack hook