fixed issue with environ import