fix url in detail view