Fix for material name getting added twice