Use notification instead of alert
Correct debug code