added alert for errors in loading