fixed a bug with state changing in the probe tool