fixed license query for single and multiple tools