fix off by one

Sorry.