quick n dirty patch, make sure we get all the data before we decode it