fixed unitialized use