synchronise configureScanNumber to prevent skipping numbers