Fix scanning