bugfix in covPoly, ... in reshape