Fix can't extract when url has no last space.