removing duplicate name property