pattern-matrching does not work for exclude somehow, hardcoding paths