fix Perfect-G