detect stopx,
last try
works on multiphoton
should works now