made loop work.

made it proper spelling too.