use router for relative path