fixed annoying skip/scan fencepost at EOL bug