remove empty name attribute overriding the right one