fixed losing alert