fixed IDManager