fix center if triangle