fix wrong environment in dot