bugfixes, added the detail page