Cleanup undefined variable