fix after applyAuthorStyles was depreciated