fixed "name" variable used as a key inside another foreach
Fixed typos
Merge pull request #117 from pborreli/typos

Typos