parseCOG: some changes