better slug handling