fixing of little bit and process.wait get out