check for looping attr before reading
Merge pull request #2 from lyleunderwood/master

check for looping attr before reading