beautify the markup