How to detect wards help