add alert for spinner