fix issue with not setting the right attribute for name