modify pretty print