* corrected comment
* doubled the space for CS_ENTITYSTRING
* reduce scope