Fix bugs in problem detail page.