tidying up process manager