Fix smartscan mode