Fixed bug in get slug