to make the createprocess ok