fix unitialized variable warning