fix url issues, use URI object as a param for store