add option to disable querying for labels