fix bug: prettify don't work