fixed a couple bugs in completeness plotting