fixed broken predicate