stop detection corrections