fix link displaying title instead of slug