pass location to build absoute uri