fixes detail.html