fixing paths to asset files