changed error alerts