Fixed uninit value error. Fixed bug in RemoveChar.