improved the process level isolation's mono compatibility
formated code