harmless off by one error