Fix create and fork commands