fix bug cancel select region