avoid a full loop to split on slashes