Fix undefended variable