fixed errors due to old name attribute