Fix relative path on topic replaceState