improve editor env variables