Fix fail to execute because of undefined variable

The Program is aborted because of reference of an uninitialized local variable.