before changing all the 'name' attr