- added getenv() stuff to set size of erring