don't assign last element with (null, null)