FIX: fixing the fix can't create materials (mysql strict mode) issue 65875624