Fix undefined variable.