Remove spurious alert(err) calls added to debug.