fix multiple class in shortcode loop