fix pasal tri-angle bug.