fixed shortcode generator