validating contains the loop-id