bugfix for covregions.py