error when clause is a predicate list