small fix, if the erray for shortcode values is empty