Corrected error on shortcode rendering