reduce queries to specific modules