Fixed number byte packets bug in utils.