fixed bug for covgs