Fix task detail page