fix predicate id