all demo and fix to triangle