fix triangle mixin