fix detail view bug, add map link to detail view