fixed up some types in environmentproperties