Fix usage of undefined variable