Fixed null deref.