fixing the pretty print