fix shortcode returning content when there is none