fix unitialized variables warning