fix for testDetailPage()