fix a bug that will cause the player hold