Missed null check