fixed beautify