improve app exclusion