issue with inactive mains not being found