corrected an error in the shortcode related tags code