envindex.diff.getdata now has proper return value