removing control codes