off by one error

whoops, caught it