Fix An option named 'env' already exists LogicException