fixed unpacking for single byte strings