change input type of predicate