delete duplicate attributes declaration in inhereted class