How to prevent false alerts?