fix index file asset referencing