fixed a bug in pretty printing endpoints.
0.4.7