Nil out var to avoid memory leak