adds the query-maker for missing subs and basevs