fixed the testing of the processes main