fix issue with document viewer not setting overrides