fixed material clone error