fix triangular patch domain