fix assets invalid exception