fixed gapstop processing bug

not sure why this had reverted to bugged form