off fixed

Called .indexOf with handler and 1 instead of calling splice with the
return of .indexOf and 1