Fix match pattern