initialize some uninitialized variables