fixing appid