small fixes to allow creating new processes