queries: fixed getName()