small bugfixing