fixes shortcode when no dimensions are present