Method scanning logic fixed.