broken attr handling but nested working