Fixed refrence to name that should have been typeName