reset currentStart to null here