add os process gate