fixing a bug for coffee-script support
Fix variable naming error for CS support.