Fixing validation errors in the navs and button shortcode