scans regex fix