fix the mixed-state in sendfragment when hitting the button quickly