switched from remove shortcode to post_gallery hook