remove unnecessary toUppercase
correct CG count