fixed reference to scale in pretty output method