fixed test_app_detail