make uri mapper reusable