fix the click event not quick react