fixed triagle index problem