fix .next so it doesn't eat an extra char