fixed strpack/unpack