Fix prettify editing