fix check_apps example