some changes on examples
fix the bugs about tie found today