debugging scan failures