primer: fixes for building
fix: covered queries