few fix in PGTask