fix query option should be "api" not "app"