Fixing missing data from ByteBuf