some fix for material module