local prettify stuff