correcting instances of app domain to sys domain