use slug model property instead of name