Minor: make var local