fix link attr on detail view