Stuck AppId in variable