string beautification