fix bug. re-support appId.