fix relational attr