closure error of triangle