adjust number of epoch