fix asset and link paths