many fixes in os and process