FIX: crash while accessing none type for error validation.