fix routing and asset url