fix - initialize roll when updating header
made some further changes to initialize 'roll' earlier.