clearing cursor mode after wire test to prevent deletion