Fix unintialized local variable error