fix bug with empty excludes