error on empty env removed