fix MATCH pattern