hopefully fixing issue w/ error displaying for drafts w/ empty style or script content