Fix for material