fix start env bug