Make sure this pointer for alert is correct