Fix asset errors during deployment