FIX: crash issue when log with null msg