fixing block-text style bug