changed type to name to avoid confusion
Merge pull request #303 from fernandohur/patch-2

changed type to name to avoid confusion