typo and cg issues fixed.