beautify codes