clean up launch process functions