Fixed null-ref.