correcting app domain reference to sys domain