fix workid wrap errors