modify for detail.html