Fix issues with appdata.