some small bugfix