small bugfixes / updated library