fixed non-initialized variable