finally removed --app and static-offload-to-thread