bugfix in deprecated lib but had to fix...