Update process.c

many more fixes