bug fix for serial number start from 2 if there is no reuse flag specify