delete useless method in Shortcode class