fixed crashing

updated with appid and internet permissions