check loop in a list