override attributes and elements when inherited