replace alert with note