fix the missing material and mesh problem