cleaning the code and display almost correctly a string