updated slug()