Triangle test fix