fix bugs about tips