fix shortcode processing