Added alert for name not found