Fix reference to name attribute