Fixed: name was undefined in the HTML