Enable match patterns and filled some configurations