avoid infinite loop in determination