made the detail page auto-generated