attempt at triangle elements fix