Fix uninitialized variable causing constant update prompts