fixed extra attr relation problem