corrected possibly uninitialsed padding variable