fix assets load on generated page