cleanup of general process interface