fixed prettify