Fix for use of variable before initialization.