remove un-necessary charactors