disable block style if empty