fixes dam routing
Fixes #535, implements Segment URL for contents