Fix bug in Process