modify the scan view controller