fixed widget directive exclusion issue