fixed the bug when click too fast