Remove reference to an undefined variable

$stopAt is not defined