escaped single quotes in lookups