use app_type instead of app_types