fix unsigned number representation bug