shortcode controller error handling comment fix