fixed uninitialized variables

needed to initialize uninitialized variables