in halis.namespace, prevent invalid queries