adjust asset url helper and support base slash