Fixed "prettify" bug