minor fixes EnvDAO