rm loop in notify