Prevent and capture some anomalous actions