Eliminate undefined variable warning