Sowmya - Removing illegal characters in the code