Fixed bug in shortcodes.php