Small updated for material_create handler