qc auto number

javascript bug fix