minor modification in the query spec