bugfix in unpack wav frames