[PATCH 1/1] Fix uninitialiazed variable bug