enable switch to target fly by double click