remove unnecessary triangle