fixed missing parent class of attr widget