attribute definition order was not properly handled