single quotes moved to query builder