fixing process creation