BugFix appId usage